package org.qf.service.impl;

import org.qf.dao.SmbmsRoleDao;
import org.qf.dao.impl.SmbmsRoleDaoImpl;
import org.qf.pojo.SmbmsRole;
import org.qf.service.SmbmsRoleService;

import java.util.List;

/**
 * @author young
 * @create 2021-01-12-15:10
 * @description
 */
public class SmbmsRoleServiceImpl implements SmbmsRoleService {
    private SmbmsRoleDao smbmsRoleDao=new SmbmsRoleDaoImpl();

    //查询所有的角色
    @Override
    public List<SmbmsRole> queryRole() throws Exception {
        return smbmsRoleDao.queryRole();
    }
}
